package main;

public class Npc extends Item{
    protected Integer hp,atk,dfc,money;
    protected String slogan;

    public void talkSlogan(){

    }
}
//小怪
class Enemy extends Npc{
    protected Integer hp=1,atk=1,dfc=1,money=1;
    public static String url="src/resources/Rock.jpg";

    public Enemy(int x,int y){
        this.x=x;
        this.y=y;
        this.type="Enemy";
    }
}

//boss


//商店
class Goods{
    protected int hp,atk,def;
    public void useIt(){

    }
}
class Shop extends Npc{
    protected Goods goods[];
    public Shop(){
        slogan="ddd";
    }
    public void buy(int num){

    }

}


//友方
class Friend extends Npc{
    protected int n;
    protected Goods goods;
    public Friend(){
        slogan="ddfa";
    }
}

//钱庄
class Bank extends Npc{
    protected int lastTime;
    protected int max;
    protected int rank;
    public void getMoney(){

    }
    //钱是否够  够的话就升级
    public boolean build(){
        return true;
    }
    public Bank(){
        slogan="dsd";
    }
}
//地图资源
class Clue extends Npc{
    protected String clue;
}
class Medicine extends Npc{
    protected int hp;
}
class Equipment extends Npc{
    protected int atk,dfc;
}
